pub fn new_count_distinct(input_str: &str) -> usize {
    let str = input_str.split(",");
    let str_vec:Vec<&str> = str.collect();
    let mut distinct = str_vec.clone();
    distinct.sort();
    // If the vector is sorted, this removes all duplicates.
    distinct.dedup();
    distinct.len()
}